package com.foundjet.back.order.model;

import java.io.Serializable;
import java.util.List;

/**
 * 订单
 * @author Clarence
 *
 */
public class Order implements Serializable {

	private static final long serialVersionUID = 1L;
	
	/**
     * 订单ID
     */
	private Long id;
	/**
     * 订单号
     */
	private String orderNo;
	/**
     * 用户ID
     */
	private Long userId;
	/**
	 * 支付平台的商户订单号
	 */
	private String out_trade_no;
	/**
	 * 支付类型，0：空, 1: 微信支付, 2: 支付宝
	 */
	private String pay_type;
	/**
     * 地址
     */
	private String address;
	/**
     * 状态  0：未支付；1：已支付；2：已退款；3其它
     */
	private int status;
	/**
     * 创建时间
     */
	private String createTime;
	/**
     * 更新时间
     */
	private String updateTime;
	/**
     * 收货人
     */
	private String consignee;
	/**
     * 收货人电话
     */
	private String consigneeMoblie;
	/**
     * 商品总价格不含运费
     */
	private float totalPrice;
	/**
     * 备注
     */
	private String remark;
	/**
     * 付款时间
     */
	private String payTime;
	/**
     * 省份
     */
	private String province;
	/**
     * 城市
     */
	private String city;
	/**
     * 区县
     */
	private String district;
	/**
     * 发货时间
     */
	private String sendTime;
	/**
     * 运单号
     */
	private String expressNo;
	/**
     * 快递公司
     */
	private String express;
	/**
     * 确认收货时间
     */
	private String confirmTime;
	/**
     * 邮费
     */
	private float postage;
	/**
     * 配送方式  0 快递  1自提
     */
	private int deliveryWay;
	/**
	 * 卖家id
	 */
	private long sellerId;
	/**
	 * 订单类目ID,多个id以','隔开
	 */
	private String orderItemId;
	/**
	 * 订单类目
	 */
	private List<OrderItem> orderItemList;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public String getConsignee() {
		return consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	public String getConsigneeMoblie() {
		return consigneeMoblie;
	}
	public void setConsigneeMoblie(String consigneeMoblie) {
		this.consigneeMoblie = consigneeMoblie;
	}
	public float getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getPayTime() {
		return payTime;
	}
	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getSendTime() {
		return sendTime;
	}
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}
	public String getExpressNo() {
		return expressNo;
	}
	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}
	public String getExpress() {
		return express;
	}
	public void setExpress(String express) {
		this.express = express;
	}
	public String getConfirmTime() {
		return confirmTime;
	}
	public void setConfirmTime(String confirmTime) {
		this.confirmTime = confirmTime;
	}
	public float getPostage() {
		return postage;
	}
	public void setPostage(float postage) {
		this.postage = postage;
	}
	public int getDeliveryWay() {
		return deliveryWay;
	}
	public void setDeliveryWay(int deliveryWay) {
		this.deliveryWay = deliveryWay;
	}
	public long getSellerId() {
		return sellerId;
	}
	public void setSellerId(long sellerId) {
		this.sellerId = sellerId;
	}
	public String getOrderItemId() {
		return orderItemId;
	}
	public void setOrderItemId(String orderItemId) {
		this.orderItemId = orderItemId;
	}
	public List<OrderItem> getOrderItemList() {
		return orderItemList;
	}
	public void setOrderItemList(List<OrderItem> orderItemList) {
		this.orderItemList = orderItemList;
	}
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	public String getPay_type() {
		return pay_type;
	}
	public void setPay_type(String pay_type) {
		this.pay_type = pay_type;
	}
}
